public class Automobile {
    private String brand;
    private String plateNumber;
    private int dayRent = 0;
    public Automobile(){
    }
    public Automobile(String brand, String plateNumber) {
        this.brand = brand;
        this.plateNumber = plateNumber;
    }
    public String getBrand() {
        return brand;
    }
    public void setBrand(String brand) {
        this.brand = brand;
    }
    public String getPlateNumber() {
        return plateNumber;
    }
    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }
    public int getDayRent() {
        return dayRent;
    }
    public void setDayRent(int dayRent) {
        this.dayRent = dayRent;
    }
    public int getRent(int day){
        return day * getDayRent();
    }

}
